Possible to make HKLM\<ENTER-NAME> writable on Windows 7
Hi, I'm a developer using Visual Studio 2005 and a .NET 2.0 application. The app work fine on Windows XP but not on Windows 7. The app writes to a specific keys under HKLM\MyCompanyName. Is it possible to make HKLM\MyCompanyName (and child nodes) fully writable (both programmatically and manually) while maintaining the general Windows 7 security for other parts of the HKLM registry? Any changes could be made manually because the app is a low volume, technical app that gets installed on a dedicated PC in a factory. Ideally there should be no UAC prompts and no Registry Virtualisation or any other software source code changes should be required, only changes to an existing installation of Windows 7. Thanks in advance, Alain
June 20th, 2012 10:09am

It's not very good practice for sw to write to hklm but you know that already. You need to set write permissions to the key in question. You can do this by rightclicking the key and setting write permissions for say "Domain Users" or Builtin\"Authenticated Users". "Everyone" if desperate. We use the great Procmon tool to look for Access Denied for a given process - sometimes it's not just that key that needs permissions so a useful way to solve further issues. Also check SubInACL and Regini for reg permissions programmatically. Hope this is of some use. BigWallop
Free Windows Admin Tool Kit Click here and download it now
June 20th, 2012 8:09pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics